<?php

interface DatabaseResult
{
    /**
     * Returns an associative array that corresponds to the fetched row or NULL  if there are no more rows. 
     * @return array|NULL
     */
    public function fetchAssoc();
    /**
     * Returns an numeric array that corresponds to the fetched row or NULL  if there are no more rows. 
     * @return array|NULL
     */
    public function fetchNum();
    /**
     * Fetch all data at once into a two dimensional array 
     * array( numeric => array (associative ..))
     * @return array|NULL
     */
    public function fetchAll();
    /**
     * Free the result memory
     */
    public function free();
    /**
     * Get the number of affected rows
     */
    public function numRows();
    
}